<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <title>万信管理后台</title>
    <%@ include file="/commons/meta.jsp"%>
    <link href="${ctx}/resources/admin/css/base.css" rel="stylesheet">
    <link href="${ctx}/resources/admin/css/zTreeStyle.css" rel="stylesheet">
</head>
<body>
<div id="loading" class="loading" >加载中…</div>
<div id="shade-div" class="shade-div hide"></div>
<%@ include file="/jsps/admin/inc/header.jsp"%>
<%@ include file="/jsps/admin/inc/menu.jsp"%>
<div id="main">
    <div id="content">
    <div class="hd">
        <span>客户端信息明细</span>
		<button class="btn blue-btn fr" type="button" onclick="window.location.href='${ctx}/statistical/client_info!list.xhtml'">返回</button>
    </div>
    <div class="search-box">
        <form id="form1" action="" method="post">
            <input type="text" class="itext gray" id="searchBy" name="username" value="输入用户名进行查询">
            <button class="btn blue-btn" type="submit" id="searchButton">查询</button>
        </form>
        
    </div>
    <table class="table-list">
        <tr>
            <th>用户名</th>
            <th>客户端</th>
            <th>版本</th>
        </tr>
        <s:iterator value="pager.result" status="i" var="ss">
	        <tr>
	            <td><s:property value="username" /></td>
	            <td>
	            <s:if test="%{type==0}">
                      PC
           		</s:if>
           		<s:if test="%{type==1}">
                      Android
           		</s:if>
           		<s:if test="%{type==2}">
                      IOS
           		</s:if>
           		<s:if test="%{type==3}">
                      Mac
           		</s:if>
           		<s:if test="%{type==4}">
                      	融合版本
           		</s:if>
           		</td>
	            <td><s:property value="version" /></td>
	        </tr>
	    </s:iterator>
    </table>
	<jsp:include page="/jsps/admin/inc/pager.jsp">
		<jsp:param name="pageUrl" value="${ctx}/statistical/client_info!look.xhtml" />
	</jsp:include>
</div>
</div>
<%@ include file="/jsps/admin/inc/footer.jsp"%>
<script src="${ctx}/resources/admin/js/lib/jquery-1.8.0.min.js"></script>
<script src="${ctx}/resources/admin/js/lib/jquery-ui.js"></script>
<script src="${ctx}/resources/admin/js/lib/jquery.ztree.core-3.1.min.js"></script>
<script src="${ctx}/resources/admin/js/lib/jquery.ztree.excheck-3.1.min.js"></script>
<script src="${ctx}/resources/admin/js/lib/jquery.ztree.exedit-3.1.min.js"></script>
<script src="${ctx}/resources/admin/js/common.js"></script>
<script type="text/javascript">
if("${pager.keyword}"!=""){
	$("#searchBy").val("${pager.keyword}");
	$("#searchBy").removeClass("gray");
	$("#searchBy").addClass("borderRed");
}
$(function(){
	common.menuClicked('P19', 'C24');
	$("#searchBy").textClean();
});
</script>
</body>
</html>